xen: arm: correct VTCR setting on arm32.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 24 Sep 2014 14:13:28 +0000 (15:13 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 25 Sep 2014 12:02:59 +0000 (13:02 +0100)
commit3a7e3cd331d50c91debaf68df64e74a2594d23c9
treebda2ed511eee62e30c33f8bb3fd15419f7cd6bf8
parentc85c5adb7806e59874e737fa98562c3d123ee3f5
xen: arm: correct VTCR setting on arm32.

1c92a2aaf8c6 "xen: arm: support for up to 48-bit IPA addressing on
arm64" inadvertently changes the VTCR setting for 32-bit from
0x80003558 to 0x80003518, changing the SL0 setting from 0x1 (p2m
starts at L1) to 0x0 (p2m starts at L2).

For some (inexplicable) reason this doesn't cause any issue on
Arndale but it does on the OdroidXU.

Reported-by: Suriyan Ramasami <suriyan.r@gmail.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Tested-by: Suriyan Ramasami <suriyan.r@gmail.com>
xen/arch/arm/p2m.c